﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ExtensionLibrary;

namespace TestExtensionMethods
{
    [TestClass]
    public class UnitTests
    {
        [TestMethod]
        public void Test_extensionMethod()
        {
            string input = "abc";

            string output = input.Revert();

            Assert.AreEqual("cba", output);


        }


        [TestMethod]
        public void Test_helperMethod()
        {
            string input = "abc";

            string output = StringHelpers.Revert(input);

            Assert.AreEqual("cba", output);


        }
    }
}
